using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
     public  class BoPhanBUS
    {
         public static List<BoPhanDTO > laydanhsachbophan_bus()
         {
             List<BoPhanDTO > list = new List<BoPhanDTO >();
             BoPhanDAO  pb = new BoPhanDAO ();
             list = pb.laydanhsachbophan_DAO ();
             return list;
         }
         public static BoPhanDTO laytentheoma_BUS(int mabophan)
       {
           BoPhanDTO  bophan = new BoPhanDTO ();
           BoPhanDAO  bp = new BoPhanDAO ();
           bophan = bp.laytentheoma_DAO(mabophan);
           return bophan ;



       }
    }
}
